import { observable, action } from 'mobx';

class Model {
  @observable name = 'lin';

  @action
  changeName(name) {
    this.name = name;
  }
}

export default new Model;